package com.xiaojie.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaojie.entity.Video;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 视频 Mapper 接口
 * </p>
 *
 * @author xiaojie
 * @since 2022-07-28
 */
public interface VideoMapper extends BaseMapper<Video> {
    Page<Video> findAllByKeywords(Page<Video> page,
                                  @Param("id") Integer id,
                                  @Param("title") String title,
                                  @Param("categoryId") Integer categoryId,
                                  @Param("username") String username
                                  );
}
